/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  dev
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      dynamicMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dynamicFvMesh   adaptiveFvMesh;
errorEstimator densityGradient;      // Model used to estimate error

// How often to refine
refineInterval 3;

// Refine field in between lower..upper (varies based on errorEstimator)
lowerRefineLevel 0.05;

// If value < unrefineLevel unrefine
unrefineLevel   0.05;

// Number of cells refined around high error cells
nBufferLayers   1;

// Refine cells only up to maxRefinement levels
maxRefinement   1;

// Write the refinement level as a volScalarField
dumpLevel       true;

// ************************************************************************* //
